package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.DlTradeClassDao;
import com.bootdo.system.domain.DlTradeClassDO;
import com.bootdo.system.service.DlTradeClassService;



@Service
public class DlTradeClassServiceImpl implements DlTradeClassService {
	@Autowired
	private DlTradeClassDao dlTradeClassDao;
	
	@Override
	public DlTradeClassDO get(Integer tradeClassId){
		return dlTradeClassDao.get(tradeClassId);
	}
	
	@Override
	public List<DlTradeClassDO> list(Map<String, Object> map){
		return dlTradeClassDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dlTradeClassDao.count(map);
	}
	
	@Override
	public int save(DlTradeClassDO dlTradeClass){
		return dlTradeClassDao.save(dlTradeClass);
	}
	
	@Override
	public int update(DlTradeClassDO dlTradeClass){
		return dlTradeClassDao.update(dlTradeClass);
	}
	
	@Override
	public int remove(Integer tradeClassId){
		return dlTradeClassDao.remove(tradeClassId);
	}
	
	@Override
	public int batchRemove(Integer[] tradeClassIds){
		return dlTradeClassDao.batchRemove(tradeClassIds);
	}
	
}
